package com.dykj.fireFighting.api.socialUnit.devicemanger.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;


/**
 * @Description 设备管理-救援设备表
 * @Author lch
 * @Date  2021-06-28 14:41:36
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "设备管理-救援设备表")
@TableName("device_rescue")
public class DeviceRescue extends Model<DeviceRescue> {
	private static final long serialVersionUID = 1L;

	/**
	 * 唯一标识
	 */
    @ApiModelProperty(value = "唯一标识")
	@TableId
	private String id;
	/**
	 * 设施名称
	 */
    @ApiModelProperty(value = "设施名称")
	private String name;
	/**
	 * 规格型号
	 */
    @ApiModelProperty(value = "规格型号")
	private String specification;
	/**
	 * 图片id
	 */
    @ApiModelProperty(value = "图片id")
	@TableField("picture_id")
	private String pictureId;
	/**
	 * 检查状态
	 */
    @ApiModelProperty(value = "检查状态")
	private String status;
	/**
	 * 责任人
	 */
    @ApiModelProperty(value = "责任人")
	@TableField("duty_man")
	private String dutyMan;
	/**
	 * 检查频次
	 */
    @ApiModelProperty(value = "检查频次")
	@TableField("check_cycle")
	private String checkCycle;
	/**
	 * 是否删除0否1是
	 */
    @ApiModelProperty(value = "是否删除0否1是")
	@TableField("is_del")
	private Integer isDel;
	/**
	 * 创建人
	 */
    @ApiModelProperty(value = "创建人")
	@TableField("create_by")
	private String createBy;
	/**
	 * 创建时间
	 */
    @ApiModelProperty(value = "创建时间")
	@TableField("create_time")
	private Date createTime;
	/**
	 * 修改人
	 */
    @ApiModelProperty(value = "修改人")
	@TableField("update_by")
	private String updateBy;
	/**
	 * 修改时间
	 */
    @ApiModelProperty(value = "修改时间")
	@TableField("update_time")
	private Date updateTime;
	/**
	 * 位置
	 */
    @ApiModelProperty(value = "位置")
	private String address;
	/**
	 * 类型
	 */
    @ApiModelProperty(value = "类型")
	private String type;

	/**
	 * 单位id
	 */
	@ApiModelProperty(value = "单位id")
	@TableField("unit_id")
	private String unitId;

	@TableField(exist = false)
	private String typeName;


}
